package com.card323.crpg.io.swing;

import javax.swing.JPanel;

import com.card323.crpg.battle.ActionPoint;
import com.card323.crpg.hero.HeroAPListener;
import javax.swing.JLabel;

public class HeroAPPane extends JPanel implements HeroAPListener{

	/**
	 * 
	 */
	private static final long serialVersionUID = 6236908204542431089L;
	JLabel lblNewLabel = new JLabel("New label");
	/**
	 * Create the panel.
	 */
	public HeroAPPane() {
		
	
		add(lblNewLabel);

	}

	public void on_ap_changed(ActionPoint old, ActionPoint current) {
	
		lblNewLabel.setText(current.toString());
	}

}
